package com.konne.nightmare.FastPublicOpinion.ui.information.fragment;

import android.os.Bundle;
import android.widget.TextView;

import com.konne.nightmare.FastPublicOpinion.R;
import com.konne.nightmare.FastPublicOpinion.base.BaseMvpFragment;
import com.konne.nightmare.FastPublicOpinion.base.BaseMvpPresenter;
import com.konne.nightmare.FastPublicOpinion.utils.LoadProgressDialog;

import butterknife.BindView;

/**
 * @Author: chen
 * @UpdateDate: 1/25/22
 * @UpdateRemark:
 */
public class ClassSevenFragment extends BaseMvpFragment {
    @BindView(R.id.tv_content)
    TextView tvContent;
    @Override
    protected BaseMvpPresenter createPresenter() {
        return new BaseMvpPresenter();
    }



    @Override
    public int getLayout() {
        return R.layout.fragment_layout;
    }

    @Override
    public void initView() {
        tvContent.setText("资料库");
    }

    @Override
    public void initData(Bundle savedInstanceState) {

    }


    @Override
    public LoadProgressDialog getLoadDialog() {
        return dialog;
    }

    @Override
    public void cancelLoadDialog() {
        if (dialog != null && dialog.isShowing()) {
            dialog.dismiss();
        }
    }
}
